package com.lebang.mapper.sys;

import com.lebang.entity.sys.Module;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface ApplicationManagementMapper {

    List<Map> recordOrderPage(@Param("startNum")Integer startNum, @Param("limit")Integer limit,@Param("map") Map<String, Object> objectObjectHashMap);

    Long recordOrderCount(@Param("map") Map<String, Object> objectObjectHashMap);

    int updateSortById(@Param("table")String table,@Param("id") Integer id,@Param("sort") Integer sort);


    int updateByPrimaryKeySelective(Module record);

    int insertSelective(Module record);

    Module selectByPrimaryKey(Long id);

}
